package com.atguigu.servicebase.exceptionhandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author hg
 * @CreatedTime 2020-10-04-10:17
 */
@Data
// 有参数构造方法
@AllArgsConstructor
// 没有参数的构造方法
@NoArgsConstructor
public class GuliException extends RuntimeException {
    // 状态码
    private Integer code;
    private String msg;
}
